package com.dianqiu.batch.bean;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


import com.dianqiu.batch.common.bean.CrawlerBaseTO;
@Entity
@Table(name = "dq_temp_matches", catalog = "dq_dev")
public class DqTempMatchesTO extends CrawlerBaseTO {
	private Integer id;
	private String matchType;
	private String matchName;
	private Timestamp matchTime;
	private String matchStatus;
	private String hostTeam;
	private String guestTeam;
	private String matchGoal;
	private String halfMatchGoal;
	
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name = "match_type",nullable = false)
	public String getMatchType() {
		return matchType;
	}
	public void setMatchType(String matchType) {
		this.matchType = matchType;
	}
	@Column(name = "match_name", nullable = false)
	public String getMatchName() {
		return matchName;
	}
	public void setMatchName(String matchName) {
		this.matchName = matchName;
	}
	@Column(name = "match_time")
	public Timestamp getMatchTime() {
		return matchTime;
	}
	public void setMatchTime(Timestamp matchTime) {
		this.matchTime = matchTime;
	}
	@Column(name = "match_status")
	public String getMatchStatus() {
		return matchStatus;
	}
	public void setMatchStatus(String matchStatus) {
		this.matchStatus = matchStatus;
	}
	@Column(name = "host_team",nullable = false)
	public String getHostTeam() {
		return hostTeam;
	}
	public void setHostTeam(String hostTeam) {
		this.hostTeam = hostTeam;
	}
	@Column(name = "guest_team",nullable = false)
	public String getGuestTeam() {
		return guestTeam;
	}
	public void setGuestTeam(String guestTeam) {
		this.guestTeam = guestTeam;
	}
	@Column(name = "match_goal")
	public String getMatchGoal() {
		return matchGoal;
	}
	public void setMatchGoal(String matchGoal) {
		this.matchGoal = matchGoal;
	}
	@Column(name = "half_match_goal")
	public String getHalfMatchGoal() {
		return halfMatchGoal;
	}
	public void setHalfMatchGoal(String halfMatchGoal) {
		this.halfMatchGoal = halfMatchGoal;
	}
	
}
